<template>
  <Suspense>
    <template #default>
      <Test/>
    </template>
    <template #fallback>
      <h3>加载中</h3>
    </template>
  </Suspense>
 
</template>

<script lang="ts" setup name="App">
import { defineAsyncComponent, Suspense } from 'vue';
// const Test = defineAsyncComponent(() => import('./components/test.vue'))


</script>

<style>

</style>